package topcoder.srm585;

public class LISNumberDivTwo {
	
	public 	int calculate(int[] seq)
	{
		int ans = 1;
		
		for(int i = 1; i < seq.length; i++) {
			if(seq[i-1] >= seq[i])
				ans++;
		}
		return ans;
		
	}
	
	public static void main(String[] args) {
		LISNumberDivTwo lis = new LISNumberDivTwo();
		int[] seq = {50};
		System.out.println(lis.calculate(seq));
	}

}
